package org.rcloud.io.mapper;

import org.rcloud.io.model.Ruralfile;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RuralfileMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Ruralfile record);

    int insertSelective(Ruralfile record);

    Ruralfile selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Ruralfile record);

    int updateByPrimaryKey(Ruralfile record);

    List<Ruralfile> selectByNum(String id);

    int updateById(int id);

    int updateFlagAll(String eid);

    int updateFlag(int id);
}